#include "login.h"
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
	
	FILE* fp = fopen("user.dat","a+");
	if(!fp)
	{
		puts("文件打开失败!");
		return -1;
	}

	while(menu(fp) != 3);	

	fclose(fp);
	return 0;
}
